package com.fusetech.flow.audit.service.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.fusetech.os.core.query.Query;
import com.fusetech.os.core.query.QueryType;
import com.fusetech.os.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流程主表表单关系DTO
 * @author xx
 * @version 2023-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AuditProcessFormDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	        
	/**
     * 审核主表
     */
	//@NotNull(message="审核主表不能为空")
    @Query(tableColumn = "a.audit_process", javaField = "auditProcess.id", type = QueryType.EQ)
	//@ExcelProperty(value = "审核主表", converter = ExcelFieldDTOConverter.class)
	//@ExcelFieldProperty(value = "auditProcess.name", service =  "com.zxhy.service.erp.audit.service.AuditProcessService", wrapper= "com.zxhy.service.erp.audit.service.mapstruct.AuditProcessWrapper")
	private AuditProcessDTO auditProcess;
	        
	/**
     * 表单id对应字典
     */
	//@NotNull(message="表单id对应字典不能为空")
    @Query(tableColumn = "a.form_id", javaField = "formId", type = QueryType.EQ)
	@ExcelProperty("表单id对应字典") 
	private String formId;
	        
	/**
     * 表单名称
     */
    @Query(tableColumn = "a.form_name", javaField = "formName", type = QueryType.EQ)
	@ExcelProperty("表单名称") 
	private String formName;

}
